[jitsi-dev] [jitsi] Turn into maven project (#133)


#1

I cant compile this project.. its have many dependency all in lib folder.. Can you work with maven if I make pull request with pom.xml file ?

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133


#2
Information:Using javac 1.7.0_76 to compile java sources
Information:java: Errors occurred while compiling module 'jitsi'
Information:6/17/15 5:48 PM - Compilation completed with 100 errors and 2 warnings in 19s 986ms
/home/stanimir/Projects/libjitsi/src/org/jitsi/impl/neomedia/rtcp/termination/strategies/HighestQualityRTCPTerminationStrategy.java
Information:java: Some input files use unchecked or unsafe operations.
Information:java: Recompile with -Xlint:unchecked for details.
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/service/protocol/ProtocolProviderFactory.java
Error:(527, 55) java: type org.osgi.framework.ServiceRegistration does not take parameters
Error:(662, 28) java: type org.osgi.framework.ServiceReference does not take parameters
Error:(1243, 32) java: type org.osgi.framework.ServiceRegistration does not take parameters
Information:java: Some input files use unchecked or unsafe operations.
Information:java: Recompile with -Xlint:unchecked for details.
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/gui/main/call/CallInfoFrame.java
Error:(29, 1) java: package com.explodingpixels.macwidgets does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/plugin/desktoputil/SIPCommButton.java
Error:(14, 1) java: package org.jvnet.lafwidget.animation does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/plugin/desktoputil/SIPCommToggleButton.java
Error:(14, 1) java: package org.jvnet.lafwidget.animation does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/gui/main/call/PreCallDialog.java
Error:(26, 1) java: package com.explodingpixels.macwidgets does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/CallJabberImpl.java
Error:(21, 1) java: package org.jivesoftware.smack does not exist
Error:(22, 1) java: package org.jivesoftware.smack.filter does not exist
Error:(23, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(24, 1) java: package org.jivesoftware.smackx.packet does not exist
Error:(728, 13) java: cannot find symbol
  symbol:   class DiscoverInfo
  location: class net.java.sip.communicator.impl.protocol.jabber.CallJabberImpl
Error:(729, 22) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.CallJabberImpl
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java
Error:(19, 1) java: package org.jivesoftware.smack does not exist
Error:(20, 1) java: package org.jivesoftware.smack.filter does not exist
Error:(21, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(22, 40) java: package org.jivesoftware.smack.packet.IQ does not exist
Error:(23, 1) java: package org.jivesoftware.smack.provider does not exist
Error:(24, 1) java: package org.jivesoftware.smack.util does not exist
Error:(25, 1) java: package org.jivesoftware.smackx.packet does not exist
Error:(40, 15) java: cannot find symbol
  symbol: class PacketListener
Error:(41, 15) java: cannot find symbol
  symbol: class PacketFilter
Error:(269, 22) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl
Error:(300, 22) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl
Error:(782, 27) java: cannot find symbol
  symbol:   class Packet
  location: class net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl
Error:(860, 31) java: cannot find symbol
  symbol:   class Packet
  location: class net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/ProtocolProviderServiceJabberImpl.java
Error:(40, 1) java: package org.jivesoftware.smack does not exist
Error:(41, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(42, 1) java: package org.jivesoftware.smack.provider does not exist
Error:(43, 1) java: package org.jivesoftware.smack.util does not exist
Error:(44, 35) java: package org.jivesoftware.smack.util does not exist
Error:(45, 1) java: package org.jivesoftware.smackx does not exist
Error:(46, 1) java: package org.jivesoftware.smackx.packet does not exist
Error:(47, 1) java: package org.xmlpull.v1 does not exist
Error:(48, 1) java: package org.xmpp.jnodes.smack does not exist
Error:(203, 13) java: cannot find symbol
  symbol:   class XMPPConnection
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(2126, 20) java: cannot find symbol
  symbol:   class ConnectionListener
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(315, 41) java: package org.jivesoftware.smack.proxy does not exist
Error:(345, 13) java: cannot find symbol
  symbol:   class SmackServiceNode
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(626, 16) java: cannot find symbol
  symbol:   class XMPPException
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(807, 16) java: cannot find symbol
  symbol:   class XMPPException
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(911, 16) java: cannot find symbol
  symbol:   class XMPPException
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(1102, 16) java: cannot find symbol
  symbol:   class XMPPException
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(2021, 12) java: cannot find symbol
  symbol:   class XMPPConnection
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(2035, 44) java: cannot find symbol
  symbol:   class XMPPException
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(2057, 47) java: cannot find symbol
  symbol:   class XMPPException
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
Error:(2617, 12) java: cannot find symbol
  symbol:   class SmackServiceNode
  location: class net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/AbstractCallPeerJabberGTalkImpl.java
Error:(14, 1) java: package org.jivesoftware.smack does not exist
Error:(15, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(16, 1) java: package org.jivesoftware.smackx.packet does not exist
Error:(28, 20) java: cannot find symbol
  symbol: class IQ
Error:(41, 13) java: cannot find symbol
  symbol:   class DiscoverInfo
  location: class net.java.sip.communicator.impl.protocol.jabber.AbstractCallPeerJabberGTalkImpl<T,U,V>
Error:(104, 12) java: cannot find symbol
  symbol:   class DiscoverInfo
  location: class net.java.sip.communicator.impl.protocol.jabber.AbstractCallPeerJabberGTalkImpl<T,U,V>
Error:(200, 34) java: cannot find symbol
  symbol:   class DiscoverInfo
  location: class net.java.sip.communicator.impl.protocol.jabber.AbstractCallPeerJabberGTalkImpl<T,U,V>
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/AbstractPacketExtension.java
Error:(12, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(26, 16) java: cannot find symbol
  symbol: class PacketExtension
Error:(49, 24) java: cannot find symbol
  symbol:   class Packet
  location: class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
Error:(59, 24) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
Error:(185, 27) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
Error:(200, 35) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
Error:(210, 17) java: cannot find symbol
  symbol:   class Packet
  location: class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/CallPeerJabberImpl.java
Error:(21, 1) java: package org.jivesoftware.smack does not exist
Error:(22, 1) java: package org.jivesoftware.smack.filter does not exist
Error:(23, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(24, 1) java: package org.jivesoftware.smack.util does not exist
Error:(25, 1) java: package org.jivesoftware.smackx.packet does not exist
Error:(241, 24) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.CallPeerJabberImpl
Error:(339, 22) java: cannot find symbol
  symbol:   class PacketExtension
  location: class net.java.sip.communicator.impl.protocol.jabber.CallPeerJabberImpl
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/CallPeerMediaHandlerJabberImpl.java
Error:(27, 1) java: package org.jivesoftware.smackx.packet does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/JingleIQ.java
Error:(13, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(22, 31) java: cannot find symbol
  symbol: class IQ
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ColibriConferenceIQ.java
Error:(17, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(18, 37) java: package org.jivesoftware.smack.packet does not exist
Error:(29, 13) java: cannot find symbol
  symbol: class IQ
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/IceUdpTransportPacketExtension.java
Error:(13, 1) java: package org.jivesoftware.smack.packet does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/ScServiceDiscoveryManager.java
Error:(16, 1) java: package org.jivesoftware.smack does not exist
Error:(17, 1) java: package org.jivesoftware.smack.filter does not exist
Error:(18, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(19, 1) java: package org.jivesoftware.smackx does not exist
Error:(20, 1) java: package org.jivesoftware.smackx.packet does not exist
Error:(32, 16) java: cannot find symbol
  symbol: class PacketInterceptor
Error:(33, 16) java: cannot find symbol
  symbol: class NodeInformationProvider
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetContactCapabilitiesJabberImpl.java
Error:(17, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(18, 35) java: package org.jivesoftware.smack.util does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/debugger/SmackPacketDebugger.java
Error:(12, 1) java: package org.jivesoftware.smack does not exist
Error:(13, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(21, 16) java: cannot find symbol
  symbol: class PacketListener
Error:(22, 16) java: cannot find symbol
  symbol: class PacketInterceptor
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/keepalive/KeepAliveManager.java
Error:(10, 1) java: package org.jivesoftware.smack does not exist
Error:(11, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(12, 1) java: package org.jivesoftware.smack.provider does not exist
Error:(13, 1) java: package org.jivesoftware.smack.util does not exist
Error:(23, 16) java: cannot find symbol
  symbol: class PacketListener
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/version/VersionManager.java
Error:(14, 1) java: package org.jivesoftware.smack does not exist
Error:(15, 1) java: package org.jivesoftware.smack.filter does not exist
Error:(16, 1) java: package org.jivesoftware.smack.packet does not exist
Error:(26, 16) java: cannot find symbol
  symbol: class PacketListener
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/JabberLoginStrategy.java
Error:(11, 1) java: package org.jivesoftware.smack does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RtpDescriptionPacketExtension.java
Error:(13, 1) java: package org.jivesoftware.smack.packet does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/EncryptionPacketExtension.java
Error:(13, 1) java: package org.jivesoftware.smack.packet does not exist
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java
Warning:(131, 20) java: createMessageWithUID(java.lang.String,java.lang.String) in net.java.sip.communicator.service.protocol.OperationSetBasicInstantMessaging has been deprecated
/home/stanimir/Projects/jitsi/src/net/java/sip/communicator/impl/protocol/jabber/IceUdpTransportManager.java
Warning:(390, 63) java: getDatagramSocket() in org.ice4j.ice.LocalCandidate has been deprecated
···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-112829919


#3

Closed #133.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#event-333279868


#4

Run "ant make" to compile Jitsi or use one of the tutorials for compiling within an IDE (e.g. Eclipse). We might look into using Maven at some point, but then it would likely be based on @gpolitis's scripts.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-112838719


#5

Reopened #133.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#event-333332231


#6

FYI @lyubomir is currently working on mavenization and we should start implementing this real soon! Still need to determine which projects and in what order.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-112859615


#7

@lyubomir can make pull request with pom.xml files for jitsi and libjitsi ?
@ibauersachs if you like jitsi project to have feature its need to forget about @gpolitis Ant build scripts.
But if you like Ant you can create from Maven build.xml file like this:
http://www.mkyong.com/maven/how-do-create-an-ant-build-file-from-maven-pomxml/

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-113061294


#8

Nice that we finally try get around the jar copying.
@sytolk the Ant-Scripts aren't from @gpolitis, they are the current build system. Until Jitsi itself is fully mavenized (which will probably be one of the latest of all the projects because it is the most complicated), you can use some shell-scripts (https://github.com/gpolitis/jitsi-mavenization) that mavenize parts of Jitsi.
Feel free to create a pull request for Jitsi that includes an initial pom. But be warned that this will be a big project.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-113492528


#9

Good to know for this https://github.com/gpolitis/jitsi-mavenization
Are there any plans to add IAX2 support to jitsi ?

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-113516386


#10

IAX(2) will not be supported. Please use the mailing list (users@jitsi.org) for such questions.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/133#issuecomment-113519628