cancel
Showing results for 
Search instead for 
Did you mean: 

How can I share my projects / source in code exchange to the community?

steffen_spahr2
Participant
0 Kudos

Hi,

I want to write a blog referencing to my code examples / projects in the svn code repository:

"https://code.sdn.sap.com/svn/MobilePrimeFacesExample" .

The problem is, that the direct link to the svn is restricted!

I also could not find my own project, if I use the project-bowser!

Following other existing projects in SCN, I could see that there are two different URL's that lead to sources in svn directories.

One for public read access via the "Source Repository Browser" Tab:

for example:

https://cw.sdn.sap.com/cw/sources/1331

and the other is the restricted direct url to the subversion-directory:

for example:

https://code.sdn.sap.com/svn/jsf20-nw73-showcase

How can I publish my svn-project so that everyone can read / browse the svn-content?

Regards

Steffen

Accepted Solutions (0)

Answers (1)

Answers (1)

JasonLax
Product and Topic Expert
Product and Topic Expert
0 Kudos

One option is to share the source code via the text editor. There's a syntax highlighter available when clicking Insert:

Second, you can attached a file to your content. These are the acceptable formats: .asc, .txt, .text, .xml, .xsl.

Would either of these (or both) work?

steffen_spahr2
Participant
0 Kudos

Hi,

first I tried to attach the whole EAR-File and the whole SDA-File of my projects to the blog, but the attachments were to big an the format *.sda and *.ear were not supported:-(

So I thought the "sap code exchange" is the right place for sharing my project contents / sources to the community, till I noticed that the subversion url is restricted.

I also couldn't find a way to set a public readable access to the project svn directory.

But I saw that there are some public accessible links to svn-soures, like:

https://cw.sdn.sap.com/cw/sources/1331

If I only get to know, how he has done it....

Regards

Steffen

JasonLax
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for the feedback. No, these two file types aren't allowed.

Just to confirm, these file types wouldn't be workable for sharing code: .asc, .txt, .text, .xml, .xsl.